package com.woniuxy.boot.nb_auth.feign;

import com.woniuxy.boot.common.bean.EsUser;
import com.woniuxy.boot.common.dto.EsUserSearchDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("nb-user")
public interface UserSearchFeign {

    @PostMapping("userSearch/get")
    List<EsUser> getEsUser(@RequestBody EsUserSearchDTO esUserSearchDTO);

}
